package com.zhy.learning.demo.domain2;

public class E extends F {

    public E() {
        System.out.println("E constructor");
    }

    @Override
    public void beforeStudy() {
        super.beforeStudy();
        System.out.println("E beforeStudy");
    }

    @Override
    public String afterStudy() {
        super.afterStudy();
        System.out.println("E afterStudy");
        return "E";
    }

    @Override
    public void doStudy() {
        System.out.println("E doStudy");
    }
}
